﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="LeftMenu.ascx.vb" Inherits="FrontEnd_Control_Menu_LeftMenu" %>
<script type="text/javascript">
    $(function () {

        if ($("#<%=hidCatId.ClientID() %>").val() != "0") {
            $(".submenu").addClass("hidden");
            $(".main-menu-left").hover(function () { $(".submenu").removeClass("hidden"); });
        }

    });

</script>
<div class="submenu">
    <div class="submenu-inside">
    <asp:Repeater ID="rptMenu" runat="server">
        <ItemTemplate>
            <dl class="cate-list-item ">
                <dt class="cate-name "><asp:HyperLink runat="server" ID="hplTitle"></asp:HyperLink></dt>
                <dd style="top: 0px; width: 380px;" class="sub-cate-list" id="MenuSub" runat="server">
                    <!--first column-->
                    <div class="box-column">
                    <asp:Repeater ID="rptSubCat" runat="server" OnItemDataBound="rptSubCat_ItemDataBound" >
                        <ItemTemplate>                            
                                <dl>
                                    <dt><asp:HyperLink runat="server" ID="hplSubTitle"></asp:HyperLink></dt>
                                        <dd>
                                            <asp:Repeater ID="rptThirdCat" runat="server" OnItemDataBound="rptThirdCat_ItemDataBound">
                                                <ItemTemplate>
                                                    <asp:HyperLink runat="server" ID="hplThirdTitle"></asp:HyperLink>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </dd>
                                </dl>                         
                        </ItemTemplate>
                    </asp:Repeater>
                    </div>
                    <!--end first column-->

                    <!--second column-->
                    <div class="box-column">
                    <asp:Repeater ID="rptSubCat2" runat="server" OnItemDataBound="rptSubCat_ItemDataBound" >
                        <ItemTemplate>                            
                                <dl>
                                    <dt><asp:HyperLink runat="server" ID="hplSubTitle"></asp:HyperLink></dt>
                                        <dd>
                                            <asp:Repeater ID="rptThirdCat" runat="server" OnItemDataBound="rptThirdCat_ItemDataBound">
                                                <ItemTemplate>
                                                    <asp:HyperLink runat="server" ID="hplThirdTitle"></asp:HyperLink>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </dd>
                                </dl>                         
                        </ItemTemplate>
                    </asp:Repeater>
                    </div>
                    <!--end second column-->

                </dd>
            </dl>

        </ItemTemplate>
    </asp:Repeater>

                       


    </div>
    <asp:HiddenField ID="hidCatId" runat="server"  Value="0"/>
</div>
